<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>会员中心</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">

        <script type="text/javascript">
            window.onload = function () {
                if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion.split(";")[1].replace(/[ ]/g, "").replace("MSIE", "")) < 9) {
                    document.body.innerHTML = "";
                    alert("你的浏览器太古老,网页不支持IE9以下版本~");
                }
            };
        </script>
        
        <link rel="stylesheet" href="__STATIC__/layui/css/layui.css"  media="all">
        <link rel="stylesheet" href="__STATIC__/member/g.css" media="all">

        <link rel="stylesheet" type="text/css" href="__STATIC__/admin/assets/css/themes/default.min.css">
        <link href="__STATIC__/admin/assets/static/ionicons.min.css" rel="stylesheet" type="text/css">
        <link href="__STATIC__/admin/assets/static/font-awesome.min.css" rel="stylesheet">
        <script>function _pxDemo_loadStylesheet(a, b, c) {
            var c = c || decodeURIComponent((new RegExp(";\\s*" + encodeURIComponent("px-demo-theme") + "\\s*=\\s*([^;]+)\\s*;", "g").exec(";" + document.cookie + ";") || [])[1] || "default"),
                d = "rtl" === document.getElementsByTagName("html")[0].getAttribute("dir");
            document.write(a.replace(/^(.*?)((?:\.min)?\.css)$/, '<link href="$1' + (c.indexOf("dark") !== -1 && a.indexOf("/css/") !== -1 && a.indexOf("/themes/") === -1 ? "-dark" : "") + (!d || 0 !== a.indexOf("__STATIC__/admin/assets/css") && 0 !== a.indexOf("__STATIC__/admin/assets/demo") ? "" : ".rtl") + '$2" rel="stylesheet" type="text/css"' + (b ? 'class="' + b + '"' : "") + ">"))
        }</script>
        
        <script>
            _pxDemo_loadStylesheet('__STATIC__/admin/assets/css/bootstrap.min.css', 'px-demo-stylesheet-bs');
            _pxDemo_loadStylesheet('__STATIC__/admin/assets/css/pixeladmin.min.css', 'px-demo-stylesheet-core');
            _pxDemo_loadStylesheet('__STATIC__/admin/assets/css/widgets.min.css', 'px-demo-stylesheet-widgets');
        </script>

        <script>
            function _pxDemo_loadTheme(a) {
                var b = decodeURIComponent((new RegExp(";\\s*" + encodeURIComponent("px-demo-theme") + "\\s*=\\s*([^;]+)\\s*;", "g").exec(";" + document.cookie + ";") || [])[1] || "default");
                _pxDemo_loadStylesheet(a + b + ".min.css", "px-demo-stylesheet-theme", b)
            }

            _pxDemo_loadTheme('__STATIC__/admin/assets/css/themes/');
        </script>

        <!-- Demo assets -->
        <script>_pxDemo_loadStylesheet('__STATIC__/admin/assets/demo/demo.css');</script>
        <!-- / Demo assets -->
        <!-- holder.js -->
        <script type="text/javascript" src="__STATIC__/admin/assets/js/holder.js"></script>
        <!-- Pace.js -->
        <script src="__STATIC__/admin/assets/js/pace.min.js"></script>
        <!--     <script id="demo" src="__STATIC__/admin/assets/demo/demo.js" data-bind="__STATIC__"></script> -->
        <!-- jQuery -->
        <script src="__STATIC__/jquery.min.js"></script>
        <script src="__STATIC__/admin/assets/js/bootstrap.min.js"></script>
        <script src="__STATIC__/admin/assets/js/pixeladmin.min.js"></script>
        <script src="__STATIC__/admin/assets/js/summernote-zh-CN.js" charset="utf-8"></script>



    </head>
    <body>
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header header-demo">
                <div class="layui-logo">
                    <span style="font-size: xx-large;">会员中心</span>
                </div>

                <ul class="layui-nav layui-layout-right">
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            
                            {$nickname}
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="{:url('index/baseinfo')}">基本资料</a></dd>
                            <dd><a href="{:url('index/setting')}">安全设置</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item"><a href="{:url('open/loginout')}">退出</a></li>
                    <li class="layui-nav-item"><a href="{:appUrl('index')}">返回首页</a></li>
                </ul>
            </div>

            <div class="layui-side layui-bg-black">
                <div class="layui-side-scroll">
                    <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                        <li class="layui-nav-item layui-nav-itemed">
                            <a class="" href="javascript:;">产品管理</a>
                            <dl class="layui-nav-child">
                                <dd><a href="{:url('index/add')}">产品添加</a></dd>
                                <dd><a href="{:url('index/index')}">产品管理</a></dd>
                            </dl>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="layui-body">
                <!-- 内容主体区域 -->
                <div style="padding: 15px;">
                    {block name="content"}{/block}
                </div>
            </div>

            <div class="layui-footer">
            </div>
        </div>
        <div class="site-tree-mobile layui-hide">
            <i class="layui-icon">&#xe602;</i>
        </div>
        <div class="site-mobile-shade"></div>
        <script type="text/javascript">

        function activeDom(dom,startId) {
            if(dom.length>0){
                if (!dom.hasClass('hidden')){
                    dom.addClass('active');
                }
                if(startId!=dom.attr('id') && dom.hasClass('px-nav-dropdown')){
                    dom.addClass('px-open');
                }
                activeDom(dom.parent('ul').parent('li'));
            }else{
                return;
            }
        }

        //$(function () {
          //  bootbox.setLocale("zh_CN");

            //$('body > .px-nav').pxNav();
            //$('body > .px-footer').pxFooter();
            //// Initialize DEMO sidebar
            //pxDemo.initializeDemoSidebar();
            //$('#px-demo-sidebar').pxSidebar();
            //pxDemo.initializeDemo();
        //});
        </script>
        <script src="__STATIC__/layui/layui.js" charset="utf-8"></script>

        <script>
            //JavaScript代码区域
            layui.use(['jquery', 'element'], function () {
                var $ = layui.$
                        , element = layui.element;
                $('.site-tree-mobile').click(function () {
                    $('body').addClass('site-mobile');
                });
                $('.site-mobile-shade').click(function () {
                    $('body').removeClass('site-mobile');
                });
            });
        </script>
    </body>
</html>
